const Router = require("koa-router")
const Server = require('./server')
const Check = require('./check')

/**
 * 路由对象
 * @type {Router}
 */
const router = new Router({
	prefix: '/tengxun'
})

/**
 * 微信OSS签名
 */
router.get("/wxSignature", async (ctx, next) => {
	const data = await Server.wxSignature()
	ctx.sendSuccess(data)
})

module.exports = router
